import http from "~/utils/http";

export const getCourseComboList = data => {
    return http({
        url: 'client/courseCombo/list',
        method: 'post',
        data
    });
};
export const getCourseCombo = id => {
    return http({
        url: 'client/courseCombo/getCourseCombo?id='+id,
        method: 'get',
    });
};
export const buyCourseCombo = data => {
    return http({
        url: 'buy/courseCombo',
        method: 'post',
        data
    });
};
export const getBuyCourseComboList = data => {
    return http({
        url: 'courseComboBuyRecord/list',
        method: 'post',
        data
    });
};